// const router = require('koa-router')();
// const LoginController = require('../controller/login');

// router.get('/', LoginController.login);

// module.exports = router.routes();
const Router = require('koa-router');

const router = new Router({ prefix: '/login' });
const LoginController = require('../controller/login');

router.get('/', LoginController.login);

module.exports = router;
